package com.zjp.mg.auditorAware;


import org.springframework.data.domain.AuditorAware;

import java.util.Optional;

//@Component
public class IsDeletedInfo implements AuditorAware<Integer> {

    private static final Integer data = 1;

    @Override
    public Optional<Integer> getCurrentAuditor() {
        return Optional.of(data);
    }

}
